﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Apmis2._1.Models
{
  public interface IPatientRepository 
    {
     IQueryable<Patient> GetPatients();
     Patient GetPatientByID(Guid id);
     //IQueryable<Patient> GetPatientByRegNo(string Regno);
     RegNo GetRegNoByID(Guid Id);
     IQueryable<RegNo> GetRegNoByPatientID(Guid PatientId);

     bool updatePatient(Patient patient);
     bool save();
     bool addPatient(Patient newpatient);
     bool addRegNo(RegNo regno);

    }
}
